package com.wj.dubbo.service.crawler.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;

import lombok.Data;

/**
 * <p>
 * 公积金汇总列表
 * </p>
 *
 * @author lee
 * @since 2017-04-28
 */
@Data
@TableName("om_crawler_fund_summary")
public class CrawlerFundSummary extends Model<CrawlerFundSummary> {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
	private String id;
    /**
     * om_crawler_sf_manager表Id
     */
	@TableField("manager_id")
	private String managerId;
    /**
     * 公积金开户单位表（om_crawler_fund_company）开户登记号
     */
	@TableField("fund_company_no")
	private String fundCompanyNo;
    /**
     * 缴纳年月，格式yyyyMM
     */
	@TableField("pay_year_month")
	private String payYearMonth;
    /**
     * 到账日期，格式，yyyyMMdd
     */
	@TableField("arrival_date")
	private String arrivalDate;
    /**
     * 业务类型
     */
	@TableField("business_type")
	private String businessType;
    /**
     * 金额（增加额 + 减少额）
     */
	@TableField("increase_amount")
	private BigDecimal increaseAmount;
    /**
     * 创建时间
     */
	@TableField("create_time")
	private Date createTime;

    /**
     * 增加额
     */
	@TableField(exist=false)
	private String amountAdd;
	/**
	 * 减少额
	 */
	@TableField(exist=false)
	private String amountMinus;
	
	
	
	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "CrawlerFundSummary [id=" + id + ", managerId=" + managerId + ", fundCompanyNo=" + fundCompanyNo
				+ ", payYearMonth=" + payYearMonth + ", arrivalDate=" + arrivalDate + ", businessType=" + businessType
				+ ", increaseAmount=" + increaseAmount + "]";
	}
	
	
	
}
